'''
Author: goog
Date: 2021-12-15 21:17:23
LastEditTime: 2022-01-05 12:38:05
LastEditors: goog
Description: 铁片有无检测
FilePath: /chengdu/TensorRT20220104/DetectionFM/TP/TP.py
Time Limit Exceeded!
'''
def tp(cfg, item, barcode):
    if 'tp' not in item.keys():
        return False
    tp_position = item['tp']
    if len(tp_position)>0:
        return True
    else: 
        return False